<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>ALTA AGENCIA</title>
</head>
<body>
<f:view>
<h3>
	<h:form>
		<h2><h:outputText value="Alta Agencia"/></h2>
		<h:messages globalOnly="true" errorStyle="list-style-type:none;color:Red;font-size:medium;" infoStyle="list-style-type:none;color:Blue;font-size:medium;"/>
		<h:panelGrid columns="3">
			
			
			
			<h:outputText value="Nombre"/>
			<h:inputText id="id_Nombre" label="Nombre" required="true" value="#{AgenciaBean.nombre}"/>
			<h:message for="id_Nombre" showDetail="false" showSummary="true"/>
					
			<h:outputText value="Domicilio"/>
			
			<h:inputText id="id_Domicilio" label="Domicilio" required="true" value="#{AgenciaBean.domicilio}"/>
			
			<h:message for="id_Domicilio" showDetail="false" showSummary="true"/>
			
			<h:outputText value="Telefono"/>
			
			<h:inputText id="id_Telefono" label="Telefono" required="true" value="#{AgenciaBean.telefono}"/>
			
			<h:message for="id_Telefono" showSummary="true"/>
			
			<h:commandButton action="#{AgenciaBean.AltaA}" value="Ingresar"/>
			
			</h:panelGrid><h:commandButton action="Menu" value="volver" immediate="true" />
			
	</h:form>
	</h3>
</f:view>






</body>
</html>